package com.fruit.service.recommend.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.fruit.mapper.recommend.RecommendMapper;
import com.fruit.pojo.recommend.Recommend;
import com.fruit.service.recommend.RecommendManager;


@Service
public class RecommendService implements RecommendManager {
	
	
	@Autowired
	private RecommendMapper recommendMapper;

	/**
	 * 获取推荐位信息
	 * @param position 位置编号
	 * @return List<Recommend>
	 */
	public List<Recommend> findRecommendByPosition(String position) {
		// TODO Auto-generated method stub
		return recommendMapper.findRecommendByPosition(position);
	}

}
